package dfbz.com.model;

import dfbz.com.annotation.Filed;
import dfbz.com.annotation.Table;

@Table("favorite")
public class Favorite {
    /**
     * id
     */
    private Integer id;

    /**
     * 收藏用户id
     */
    @Filed("u_id")
    private Integer uid;

    /**
     * 文章id
     */
    @Filed("a_id")
    private Integer aid;

    public Favorite() {
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUid() {
        return uid;
    }

    public void setUid(Integer uid) {
        this.uid = uid;
    }

    public Integer getAid() {
        return aid;
    }

    public void setAid(Integer aid) {
        this.aid = aid;
    }
}
